package com.northwind.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Admin implements Serializable {
  private String admin_id;
  private String username;
  private String password;
  private String salt;
  private String status;

  //关系属性 一个管理员对应多个角色 角色集合
  List<Role> roleList;
}
